package com.example.order.service;

import com.example.service.IUseService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @Author: songyahui
 * @Date: 2020/10/24 19:32
 * @Version 1.0
 */
@Component
@com.alibaba.dubbo.config.annotation.Service(timeout = 30000,interfaceClass = IUseService.class)
public class UserServiceImpl implements IUseService {
    @Override
    public String sayHello(String name) {
        return "hello "+name;
    }
}
